FreezeAll Method

Summary
Freezes or un-freezes all of the cells in the MedicalViewer control.
Syntax
C#
C++/CLI
public void FreezeAll( 
   bool freeze 
) 
            public: 
void FreezeAll(  
   bool freeze 
)  

Parameters

freeze
true to freeze all cells, false to unfreeze all cells.

Remarks
  • Freezing a cell means that no actions using the mouse or the keyboard can be performed on the cell. Cell properties can still be changed.
  • You can select or un-select a frozen cell.
  • Use the MedicalViewerBaseCell.Frozen property to freeze a single cell.
Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
using Leadtools.ImageProcessing.Core; 
 
public void MedicalViewerCellCollectionExample() 
{ 
   int index; 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   medicalViewer.Cells.SelectAll(false); 
   for (index = 0; index < medicalViewer.Cells.Count; index++) 
      if ((index % 2) == 0) 
         medicalViewer.Cells[index].Selected = true; 
   medicalViewer.Cells.FreezeSelected(true); 
   myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.